package org.aptech.hdax.easybuy.pojo;

import java.io.Serializable;
import java.util.Objects;

public class Product implements Serializable {
    private Integer id;
    private String name;
    private String description;
    private Double price;
    private Integer stock;
    private ProductCategory categoryLevel1;
    private ProductCategory categoryLevel2;
    private ProductCategory categoryLevel3;
    private String fileName;
    private Integer isDelete;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public ProductCategory getCategoryLevel1() {
        return categoryLevel1;
    }

    public void setCategoryLevel1(ProductCategory categoryLevel1) {
        this.categoryLevel1 = categoryLevel1;
    }

    public ProductCategory getCategoryLevel2() {
        return categoryLevel2;
    }

    public void setCategoryLevel2(ProductCategory categoryLevel2) {
        this.categoryLevel2 = categoryLevel2;
    }

    public ProductCategory getCategoryLevel3() {
        return categoryLevel3;
    }

    public void setCategoryLevel3(ProductCategory categoryLevel3) {
        this.categoryLevel3 = categoryLevel3;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

}
